Document::Revert

Section: ET++ method description (n)
Updated: automatically Fri Mar 15 14:13:05 1991
Index Return to Main Contents
 

NAME

Document::Revert - instance method  

TEMPLATE

void Revert()  

SPECIFIERS

public virtual  

DESCRIPTION

If the document is modified and the user decides to discard unsaved changes, then Revert reloads the original file through the method Load. Method is rarely overridden.  

ARGUMENTS

none

 

RETURN ARGUMENT

void

 

CATEGORIES

menu commands, client interface

 

FIRST DEFINITION

class Document  

FILES

implementation:
Document.C

 

KNOWN PROBLEMS

Revert does not reset the undo mechanism. PerformCommand(gResetUndo) should be called after successful loading or better by the method Load itself.


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES
KNOWN PROBLEMS

This document was created by man2html, using the manual pages.
Time: 00:40:27 GMT, March 30, 2022